package com.artpri.service;

import java.util.List;

/**
 * 面向controller提供dao层方法
 * @author ZhangSi
 *
 */
public interface ActionService {

	public Object get(Class<?> classType, Integer id) throws Exception;
	
	public Integer save(Object o) throws Exception;
	
	public void delete(Class<?> classType, Integer id) throws Exception;
	
	public void delete(Object o) throws Exception;
	
	public void update(Object o) throws Exception;
	
	public List<?> findAll(Class<?> classType) throws Exception;
	
}
